package model

type GroupMembers struct {
	MemberId                 string `json:"member_id" xorm:"member_id"`
	ChannelName              string `json:"channel_name" xorm:"channel_name"`
	MemberHost               string `json:"member_host" xorm:"member_host"`
	MemberPort               int    `json:"member_port" xorm:"member_port"`
	MemberState              string `json:"member_state" xorm:"member_state"`
	MemberRole               string `json:"member_role" xorm:"member_role"`
	MemberVersion            string `json:"member_version" xorm:"member_version"`
	MemberCommunicationStack string `json:"member_communication_stack" xorm:"member_communication_stack"`
}

func (m GroupMembers) TableName() string {
	return "replication_group_members"
}
